buildable: Make vfunc accessor functions private
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 25 Sep 2020 12:27:26 +0000 (14:27 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 26 Sep 2020 00:16:57 +0000 (02:16 +0200)
commit2715b3ec31256ee1c3e0276fdc0154cd8a69fa8e
treef2e13fc49626c6f95d666c4bda282238af1ca198
parent12189bc10f87fe6315565e38099aceff60583a41
buildable: Make vfunc accessor functions private

With the exception of gtk_buildable_get_id(), those are only used
to construct objects from XML descriptions, which is functionality
internal to GTK.

The API is therefore unlikely to be missed, and keeping it internal
means they can no longer unintentionally shadow object methods in
bindings with less namespacing; for example it's currently ambiguous
whether `infoBar.add_child()` refers to gtk_info_bar_add_child() or
gtk_buildable_add_child().

https://gitlab.gnome.org/GNOME/gtk/-/issues/3191
docs/reference/gtk/gtk4-sections.txt
gtk/gtkbuildable.c
gtk/gtkbuildable.h
gtk/gtkbuildableprivate.h [new file with mode: 0644]
gtk/gtkbuilder-menus.c
gtk/gtkbuilder.c
gtk/gtkbuilderparser.c
gtk/gtkbuilderprecompile.c